package model;


public abstract class Rule {
	

	protected String RuleName,RuleDescripton,ruleType	;
	protected long RuleID;
	protected static long id = 13;
	
	
	public String getRuleType() {
		return ruleType;
	}
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	public String getRuleName() {
		return RuleName;
	}
	public void setRuleName(String ruleName) {
		RuleName = ruleName;
	}
	public long getRuleID() {
		return RuleID;
	}
	public void setRuleID(long ruleID) {
		RuleID = ruleID;
	}
	
	public void setRuleDescripton(String ruleDescripton) {
		RuleDescripton = ruleDescripton;
	}
	public String getRuleDescripton() {
		return RuleDescripton;
	}
	
	
	public static long nextId(){
		return id++;
	}

	public String toString(){
		return RuleID+"\t\t\t"+RuleName+"\t\t\t"+RuleDescripton+"\t\t\t"+ruleType;
	}
}
